home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EuroCD 3
/
EuroCD 3.iso
/
Programming
/
Amos
/
AMOSList-1297
/
AMOSLIST
/
000127_amos-request@svcs1.digex.net_Sat Dec 13 18:39:56 1997.msg
< prev
next >
Wrap
Text File
|
1998-06-24
|
4KB
|
97 lines
>From amos-request@svcs1.digex.net Sat Dec 13 18:39:56 1997
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id SAA06231
for <mcox@access.digex.net>; Sat, 13 Dec 1997 18:39:56 -0500 (EST)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id PAA21846
for amos-out; Sat, 13 Dec 1997 15:38:47 -0500 (EST)
Received: from pony-1.mail.digex.net (pony-1.mail.digex.net [204.91.241.5])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id PAA21843
for <amos-list@svcs1.digex.net>; Sat, 13 Dec 1997 15:38:46 -0500 (EST)
Received: from mail1.desupernet.net (mail.desupernet.net [204.249.184.22])
by pony-1.mail.digex.net (8.8.8/8.8.8) with SMTP id PAA22529
for <amos-list@access.digex.net>; Sat, 13 Dec 1997 15:38:41 -0500 (EST)
Received: (qmail 28293 invoked from network); 13 Dec 1997 20:31:56 -0000
Received: from unknown (HELO redrose.net) (mushy-pd@208.7.248.154)
by 204.249.184.22 with SMTP; 13 Dec 1997 20:31:56 -0000
From: Mush <mushypd@redrose.net>
Reply-To: mushypd@redrose.net
To: Jens Vang Petersen <top_cat@post8.tele.dk>
CC: amos-list@access.digex.net
Date: Sat, 13 Dec 1997 15:35:36 +0500
Message-ID: <yam7286.1845.3878816@mail.redrose.net>
In-Reply-To: <yam7286.417.1747392168@post8.tele.dk>
X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
Organization: Mushroom PD - AMOS Public Domain Library
Subject: Re: GUI extension..
MIME-Version: 1.0
Content-Type: text/plain
Status: O
X-Status:
It was on the night of 13-Dec-97, when no creatures were stirring, and all was
silent. Suddenly, Jens jumped out from behind a rock and wouldnt stop shouting
about "GUI extension.." until I was forced to knock them out:
-> Hello..
-> I've started to use the GUI extension (great stuff) but a few questions
-> has popped up:
-> 1) The command 'Gui Title' is noted in the guide, however that command
-> does not exist (Looked in the lib with a hex-monitor and found that
-> the command is called 'Gui Titles')..
This is a known bug in the guide file. You also have to have 2 entries for
each command, where IIRC the guide said you could use just one.
-> 2) While looking in the lib I noted that the extension calls up the
-> 'Gadtools.Library'. Is this a rom-lib (like exec) or should it be
-> in my libs: (it isn't there but the extension runs great anyway)..
It works fine without it, as it is a ROM lib.
-> 3) There's a slight bug in 'Gui Asl', if I pad the path with '/' (like
-> 'ab3:includes/' then the returned filename holds two '/' in row
-> ('ab3:includes//test.lnk') and the file can't be found by amos..
Yes, I fixed this problem in one of my examples for the next release of the
extension. Le,mme get the code...
If A=9
' Grab a file from the user
Do
F$=Gui Asl$("Pick a List of Email
recipients..."+Chr$(0),Dir$,"",Chr$(0))
F$=Gui Dir$
If Mid$(F$,Len(F$),1)<>"/" and Mid$(F$,Len(F$),1)<>":" : F$=F$+"/" :
End If
F$=F$+Gui File$
If Gui File$="" : Exit : End If : Rem Exit
If Exist(F$) and F$<>""
Dir$=Gui Dir$
TEMP$="" : Gui Set 1,2,0,Varptr(TEMP$)
TEMP$=F$ : Gui Set 1,2,0,Varptr(TEMP$)
Exit
End If
Loop
End If
This is the code I use in my MPDMailpostV2 routine, and it handles it all
fine. It also handles the bug for when you change directorys, as it will
only add the / onto the end if it really needs it.
Any other questions, just ask!
Andrew "Mushroom" Kellett
--
Email: Andy Kellett <mushypd@redrose.net> Team *AMOS* + IAPA Team *AMIGA*
alt.religion.amos - AMOS now on usenet! AMOS Mailinglist also mirrored
World's Largest AMOS Homepages - http://www.mushy-pd.demon.co.uk
Official F1 Software Distributor for the USA
Massive FTP site with AMOS/C64 and Mods/Samples + more at
mushy-pd.dyn.ml.org